#include "alien.hh"

void	alien::hello() { std::cout << "yo i'm an alien" << std::endl; }
extern "C"
{
  monster *make_alien()
  {
    return new alien();
  }
  class registrer
        {
        public:
	  registrer()
	  {
	    std::cout << "toto" << std::endl;
	    factory["Alien"] = make_alien;
	  }
        };
  registrer r;
}
